package com.premierleaguestats.client;

import com.google.gwt.user.client.rpc.IsSerializable;

/*
 * Object that stores the number of wins, draws, and losses from a season
 */
public class SeasonGames implements TeamStatsData, IsSerializable{
	
	String season;
	int win;
	int draw;
	int loss;
	
	public SeasonGames(){
		
	}
	
	public SeasonGames(String season, int win, int draw, int loss){
		this.season = season;
		this.win = win;
		this.draw = draw;
		this.loss = loss;
	}

	@Override
	public String getSeason() {
		return season;
	}

	@Override
	public int getData() {
		return 0;
	}

	@Override
	public void setSeason(String season) {
		this.season = season;		
	}

	@Override
	public void setData(int data) {
		
	}

	public int getWin() {
		return win;
	}

	public void setWin(int win) {
		this.win = win;
	}

	public int getDraw() {
		return draw;
	}

	public void setDraw(int draw) {
		this.draw = draw;
	}

	public int getLoss() {
		return loss;
	}

	public void setLoss(int loss) {
		this.loss = loss;
	}

}
